package com.lannuokeji.biz.items.service.impl;

import com.lannuokeji.biz.items.entity.LabApply;
import com.lannuokeji.biz.items.mapper.LabApplyMapper;
import com.lannuokeji.biz.items.service.LabApplyService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 实验室申请 服务实现类
 * </p>
 *
 * @author lannuoTeck
 * @since 2018-03-19
 */
@Service
public class LabApplyServiceImpl extends ServiceImpl<LabApplyMapper, LabApply> implements LabApplyService {

	@Override
	public Page pageWithChildren(Page page, LabApply apply) {
		return page.setRecords(baseMapper.page(page, apply));
	}

}
